#nullable enable

using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace PHMEE.EnergyEfficiency;

public interface ITimeSeriesDataLogRepository
{
    Task<TimeSeriesDataLog?> FindOrDefaultAsync(Guid id);

    Task<TimeSeriesDataLog> InsertAsync(TimeSeriesDataLog timeSeriesDataLog);

    Task<List<TimeSeriesDataLog>> GetListUnSyncedOperationTimeAscAsync(CancellationToken cancellationToken);

    Task<TimeSeriesDataLog> UpdateAsync(TimeSeriesDataLog timeSeriesDataLog, CancellationToken cancellationToken);
}